neighbors dist bug