More fixes. Calculating correctly at beginning of file/chromosome