fixes in multi_volume optimization