Put min and max into separate files.