Candy pattern generation at the end of every world section