Distance distribution