Reworked neighbours variable