improve performance of  unite