some tools for merge(tim) sort added