https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4927227/ https://en.wikipedia.org/wiki/Symmetric_level-index_arithmetic It would be worth while to have something like this in D!