minimize the number of loads