Skeletons developed as chemistry of oceans changed