Algae should be considered a given result of the establishment of a new tank with live rock or live sand. Heavy algae problems are a result of grossly excessive nutrient levels due to large amounts of organic input/die off of live organisms, lack of water changes, and poor circulation. The few that do not have early algae problems are pretty lucky at most. Coralline algae does need light and nutrients can be controlled even during a cycling or rock curing. Water changes! Light is needed to keep coralline whereas a hard/quick cycle is not a necessity so heavy ammonia, nitrite and nitrate levels are not needed for a cycle/curing. Control the nutrients that feed algae, maintain good circulation and run your lights at least 6 hours or so per day when cycling with live rock/sand. It is obviously easier to turn lights off if, even with good circulation and water changes you still get a heavy algae break out, but it is not easy to just get back coralline growth lost due to a lack of lights, heavy pollution and poor circulation. Cycling of a tank should be done with the same equipment in place and most often in use that you will use after the cycle. Meaning use all pumps, heaters, filters, skimmers, ATO pump, and lights. Do not use UV lights during a cycling. I even use half strength Kalkwasser for auto top off (ATO) water during cycling.