fix distance initialization
Add option to show details of metabolic path