Move MAXYEAR to config