This allows ensembles of size up to 999. This necessitates using the medium memory model on x86 (-mcmodel=medium).