Solution to the GenomicRangeQuery problem