Shift modifier to keep end nodes stationary