https://willner-olsson.com/projects/heaps/