Streamlined the discovery of discrete factor levels for reference in simulation