Constructor now takes activeSetSize argument.