Using diagonal buffer for planning and execution control in production