Algorithm handles case with only 1 lower envelope.