correct `IntervalHeap::from_vec`

closes #40
Merge pull request #45 from apasel422/ih

correct `IntervalHeap::from_vec`