Investment banks tread carefully after years of living dangerously