Using absolute value for weights