Implement 3d case for forall edges.