Optimal burning of your candle