It also most likely didn't happen homogenously across the entire ocean. The key reactions most likely occured near energy sources, like geothermal vents.