interval-sets: a little bit faster by not using slices.
interval-sets: can just check one side or the other.