speed ups using AABBs