CIBC misses estimates as profit margin from lending contracts