Working notes added.

Thinking about how to proceed with flexible path.
Peformance matters, but it's definitely good enough on flexible path.