Cracking of pre-tensioned beams