make maxX and maxY immutable
stub new functions getMaxX, getMaxY and hasNode