Propagation of gravity wave packet near critical level