private void minimumImageConvention() {
		switch (boundary.getType()) {
		case RectangularBoundary.PBC_ID:
			if (rxij > xbox * 0.5) {
				rxij -= xbox;
			}
			if (rxij <= -xbox * 0.5) {
				rxij += xbox;
			}
			if (ryij > ybox * 0.5) {
				ryij -= ybox;
			}
			if (ryij <= -ybox * 0.5) {
				ryij += ybox;
			}
			break;
		case RectangularBoundary.XRYPBC_ID:
			if (ryij > ybox * 0.5) {
				ryij -= ybox;
			}
			if (ryij <= -ybox * 0.5) {
				ryij += ybox;
			}
			break;
		case RectangularBoundary.XPYRBC_ID:
			if (rxij > xbox * 0.5) {
				rxij -= xbox;
			}
			if (rxij <= -xbox * 0.5) {
				rxij += xbox;
			}
			break;
		}
	}