fixed BK tree