adjust MAX_MONEY and FILTER_THRESHOLD