Adjust dimensions.