fix performance problem when one item outweights the others