Fix bug with Max size

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