Fix assignment

maxRn are evaluated for any jobs currently running (not only having ready command) to make better shares
maxRn is also capped with the effective number of commands of the nodes