Operation of two-stroke engine