improve bbst/map