Added code for adding constraint points on the texture, it also automatically adds the boundary constraints to the texture