Descriptional complexity of two-way pushdown automata with restricted head reversals