Allowed for variable cave size and rarity.

Use the CLUSAV and CLUSAM constants at the start to adjust.