Refactored to track numBytes

Nnumber of bytes is now kept track of by both passes