Hierarchical Position Based Dynamics