fix spacing in neighbor method