A configuration-based heatbath-CI for spin-adapted multireference electronic structure calculations with large active spaces.