clean up more random lengths
script to compute optimal pipe cuts