Nested types for binomial heaps