improve unit size metric