Map boundary check

:)