public void lengthReturn() {
        if (length != FRAME_HEIGHT / 5) {
            duration++;
            if (duration == 1000) {
                length = FRAME_HEIGHT / 5;
                duration = 0;
            }
        }
    }