mas_next_node
if (mas_next_node(mas, node, max)) {
mas_next_node(mas, mas_mn(mas), max);
mas_next_node(&mas, mas_mn(&mas), ULONG_MAX);