Use average width instead of max