use width and height for normalization in parwise