Refactoring create methods. upper_ and lower_bound was changed to equal_range.

Removed old macroses.