public int getThickness(int t) {
        int thickness = 1;

        switch (t) {
            case 0:
                thickness = 1;
                break;
            case 1:
                thickness = 4;
                break;
            case 2:
                thickness = 6;
                break;
            case 3:
                thickness = 9;
                break;
            case 4:
                thickness = 14;
                break;
        }

        return thickness;
    }