Added max genome length flag