public MarkSlotPiece(int xPos, int yPos, int size) {
		if (size < 1) {
			size = 1;
			System.out.println("Too small size, setting to 1");
		}
		
		this.size = size;
		
		this.height = ((int)(((size-1)/4)+1))*(MarkSlot.HEIGHT*2+5);
		
		this.setBounds(xPos, yPos, MarkSlotPiece.WIDTH, this.height);
		
		markslots = new MarkSlot[size];
		
		boolean left = true;
		boolean top = true;
		for (int i = 0; i < size; i++) {
			int curx = xPos + 2;
			int cury = yPos + 2 + ((int)(i/4))*(MarkSlot.HEIGHT*2+5);
			if (!left) {
				curx += MarkSlot.WIDTH+1;
			}
			if (!top) {
				cury += MarkSlot.HEIGHT+1;
			}
			markslots[i] = new MarkSlot(curx, cury);
			left = !left;
			if (left) {
				top = !top;
			}
		}
	}