Gluing of branched surfaces by sewing of fermionic string vertices