Sharply bounded alternation and quasilinear time