Fixing bug where if you had 4 cids and 5 partitions the parts slice would be parts[6:8] based on the current math and it would panice with a slice out of bounds error