first stage parser hierarchy structure