jammed, sky...
It seems most places, the engine out procedure is to fly runway heading(track) as the engineers have analyzed the surrounding terrain for obstacle clearance. But how far out are they required to analyze.
Not sure how the original question was specific to takeoff....