Rebuild paths using Directives and implementation of memstorage with
concurrency problems.