`$indexSize` and `$indexUnit` do not make much sense from a user's point of view. Could you abstract these into some kind of `$entropy` parameter?