factors for corals formation