Changed how counts vector was allocated to not require double memory and also added code to give an estimate of the required memory for each chromosome