Ok. You explained what a PIT file is (Partition Information Table), which I alreayd knew.
why is it necessary in this specific case? Personally, I don't think this ROM requires repartitioning the device, since that is usually a very risky step.
Shouldn't this be an optional step?
initially s4 came with the MDK firmware which had 8.94 gb pit
then they pushed an ota update increasing the size to 9.2 gb by some method i dont know.
although it worked for the time it messed up the partitions.
you could flash any 4.2.2 rom or anything else
but when 4.3 came it just didnt boot for some people because it needed standard partitions.
samsung suck at these things you know.
some people didnt have problem with otas some had like i said.
so best way to rule out this problem in future is to flash original pit