improvimg performance of best fitting