--min and --cutoff functions were in wrong place