should not be able to set a coordinate outside the boundary of x