Impact of the Rotation and Compactness of Progenitors on the Mass of Black Holes