store active set record more efficiently, using int ranges