resample conditions without mulitcore