Removing unnecessary push pop.