public static function lowerLabel($value, array $labels)
    {
        ksort($labels);

        foreach ($labels as $max => $label) {
            if ($value <= $max) {
                return $label;
            }
        }

        return end($labels);
    }