add bind mode in red-black tree