mas_next_sibling
if (mas_next_sibling(&r_mas)) {
else if (!left && !mas_next_sibling(&tmp_mas))
if (mas_next_sibling(&mas)) {