Fix bug with Max size

Apparently we can't use `env.get` to fallback to another value the way we did it, so it was always had an empty value and fail to sync with any file size.