Save aliases with aliases_each
Store aliases in binary search tree