by repeated filling and emptying of an intermediate volume