Ag-Nb nanoscale multilayer study by global energy minimization