public void updateCharge(long currentTime) {

        int stack = (int) (System.currentTimeMillis() - startTime) / incrementDuration;
        Debug.println("Stack:"+stack);
        if (stack > maxIncrement) {
            stack = maxIncrement;
        }
        currentWidth = initWidth + stack * incrementLength;

    }