Add path calculation.

Always set @path doesn't require now.
Use constaint parent to calculate path.

(In the future initializing path directly may be removed from adl parser)