statement optimise