removing maxX maxY getters because algorithm is stupid