improve index mapping between fenics and bempp