Error locating DOFs geometrically with P2/CR mixed elements

what about the solution proposed in the thread ?
Dolfinx locate _dof's_geometrically fails on mesh imported from gmsh - #2 by dokken