fixed logic for assigning new cases to use a mod-4 scheme