Critical dimensions from loops in a string sigma model