add distance maps