added doAxisParallelRectanglesIntersect