the riskiest moments were when he found himself waiting at the perimeter of a primary school , masturbating surreptitiously into his trouser leg beneath a loose and un-tucked shirt as he struck up conversations with child-age female students .