Fixed and unified level graph path generation.
Removed faulty inverse root square implementation.