We should be able to provide a swappable backend for the dof distribution. @koehlerson found https://dl.acm.org/doi/10.1145/3603372 which might be the first algorithm to implement.