FIXUP: Use prepro constant for samples_max.