When installing a new crankset and/or cassette, it's important that you double check the chainline. This refers to the imaginary line from the chainrings to approximately the center of the rear cassette.
Here's how to do it.
1. Set the rear derailleur to the middle gear (#5 on a 9 speed, #5 or #6 on a 10-speed).