Split the implementation of ranked bit vector into smaller classes