Text this: Study and application on the size effect and end effect of red sandstone mechanical properties