Constrain relative weight to be between 0 and 1.