Took out padding for correlation calculation.