A Dynamic Programming Algorithm for the Distance Between Two Finite Areas | Synapse