Change so that average doesn't round down