move includeBounds as parameter to compare method