Moved chunk load so it only does it once

+ made number of loops more logical