An asymptotic approach to the torsion problem in thin walled beams