leveraging neighborhoodlist and neighborhoods arrays for patch operations