casted coordinates to ints