Grammar of zones almost working. generating non-main traj is not working