get max native generations from the system