fix non-copyable bug of BidirectionIndex.
(reset min and max protected member and leave out the const attribute)