added isStrictlyInBounds