add bs-tree type and insert function