from SO http://stackoverflow.com/questions/27152834/how-to-improve-performance-of-boost-interval-map-lookups