Distance-based neighbourhood