updated 2of4 and 4of4 so that when running on one core it works.