Small pipelining optimization