bug fix
changed tree keep prefix at MSBs