bugfix: getting neighbours boundaries