2nd segment is up to a minimum of 400 feet, or limited by your takeoff thrust, 5 or 10 mins. But in this case it would be to the point where the aircraft changes configuration, we use 1500 feet for thrust reduction and 3000 feet for flaps. (Noise abatement)
Mutt