Fixes a bug where when only one locus was used, number of CPUs allocatad to any job was 0. Also distributes CPU load more intelligently.