Fix dimensions.