Modules

Collapses a path as much as possible