For RED_BLACK solution