insertion method createPositionConstraints equals to applyConstraints