Minor refactoring of the DNA problem