Refactor GetClumpsPartition to adhere to zero-based indexing