Java: neighborhood collective communications