Removed useless write
Moved max ref length for counting to constant
Pre-load next reference sequence while scoring binding sites