remove the 'repmat' function when constructing the name string to speed up the computation