Refine algorithm to find attached neighbors