fixed a bug with currentSize calculating