pipelined computation on main