typo corrected
constraints only added to empty ensembles if sensible