Don't calculate source size over and over.

It was already cached lower down, but this makes the code more
readable too.