Simplify calculating the source stream offset