Refactoring on location features. Leaving a place when outside bounds