add pipelining annotations for 2stage