Mean shift cluster recognition method implementation in the nested sampling algorithm