Math.min(#ranges, 3) do.

Highly scalable and capable of deciding. Fn can_decide(&self) -> bool { db.0.is_within(addr.