assembly enum algorithm changed