added distance maps