changed some of the square constraints