fixed duplicate maxKey error in BiMap