Principal stresses in a wide-flange beam