One is regulatory compliance to handle a welter of new rules imposed by U.S. and European authorities, as well as to prevent a repeat of the pre-crisis misbehavior that earned some banks huge penalties.