This: https://github.com/JanStreffing/cmpitool/commit/f73aa1abc5ff99f48cb11e6f25a010b3433a8e69 was done on boxes only. Need to redo with boxes + regions.