New fluidpipe algorithm, WIP