changed findMin to Wavelet Tree idea, this can be improved folliwing df_sada idea in the near future