Shoudn't InclusiveLower and ExclusiveUpper also be parameterized on T (like you did in the scalding code)?