density unit check