Look at https://github.com/StrongCompute/dimble/issues/2#issuecomment-1495340903 for some ideas to get started