Take into account boundaries