Add boundaries to edges
Merge branch 'jprof-wip'