Use maximum file size at either start or end commits.
Fix mutable variable warning.
Use full range of colours evenly.