Path calculation should be transplanted from ADL parser