rewrite the position constraints section.