krta-adjusting; sthana-vibhagah-the division of the places they were to hold; te-they; evam-in this way; kasyapa-nandanah-the sons of Kasyapa (both the demigods and the demons); mamanthuh-churned; paramam-with great; yattah-endeavor; amrta-artham-for getting nectar; payah-nidhim-the ocean of milk.