max = Math.max(max, Math.sqrt(s.width * s.width + s.height * s.height));