now computing neighborhood