Complex sentence: The mixing together of these distinct types of individuals within the confines of one institution was always problematic with authorities recognising that innocent girls were exposed to the corrupting behaviour of others.
Split into simpler sentences: The mixing together of these distinct types of individuals, within the confines of one institution, was always problematic. Authorities realized that innocent girls were exposed to the corrupting behavior of others.