SegmentTreeMin data structure.
Let user specify BIT size instead of using hard-coded one.