Refactor loadavg code