max added to nodes s1.in fixed