private void createHiveGroups(int groupDimension, int groupCount, int groupSize, int x, int y, int dimensionX,
			int dimensionY, int pixelX, int pixelY, int groupFixed, int fullLineSwitch) {
		for (int yg = 0; yg < groupDimension; yg++) {
			for (int xg = 0; xg < groupDimension; xg++) {
				if (groupCount < groupSize) {

					int lastPositionedHiveX;
					int lastPositionedHiveY;

					if (fullLineSwitch == 1) {
						lastPositionedHiveX = (x - dimensionX / 2) - pixelX / 2 + xg - groupDimension / 2;
						lastPositionedHiveY = (y - dimensionY / 2) - pixelY / 2 + yg - groupDimension / 2;
					} else {
						lastPositionedHiveX = (x - dimensionX / 2) + xg - groupDimension / 2;
						lastPositionedHiveY = (y - dimensionY / 2) + yg - pixelY / 2 - groupDimension / 2;
					}

					registerHive(Position.createFromCoordinates(lastPositionedHiveX, lastPositionedHiveY),
							_inputData.getNumberOfBeesPerHive(), "Hive" + groupFixed + "_" + groupCount);

					groupCount++;
				}
			}
		}
	}