case SOUTH:
                double ySouth = contact.getY() - contactLength;
                if ((ySouth > size / 2) && (ySouth < yMax)) {
                    yMax = ySouth;
                }