use weighted coefficients for each dimension