Added prev_at_level-functions for backwards iteration.