reduce graph complexity in assembly.allmaps.path()