Remade setRoi and changed name to setWeightList