Group neighbor variables