Updated stage3 creation bugs found in repetition partitioner