Removed redundant coordinate assignments.