table with distances