the maximum being along the side edges