Then they cast lots equally, for both the small and the great, by their families, concerning each one of the gates.