in reply to Re^3: Algorithm to reduce the weight of a collection of bagsin thread Algorithm to reduce the weight of a collection of bags