added warping penalty constraint