That's not totally true.
It depends on the rom you have currently installed. I flashed 5.12.17 and then, I still had the non-merged partitions. I flashed again the 5.12.17 and voilá, the partitions were merged. You have to check if the partitions are merged after the first flash. If so, you can...