Prefix and Density