String identification = identificationString(
GeneralBoundaryType.Hardwall, myPartID, region, "border-corner");
testPotentialNeighborsCount(3, neighbors.length, identification);
if (myPart.xmax() == globalSimulation.xmax() && myPart.ymax() == globalSimulation.ymax()) {
// If the region is at global simulation corner it can not have any neighbors
for (int neighbor: neighbors) {
testForNoNeighbor(neighbor, identification);
}