add options to select the number of core sets to use; fix #83