public static function fillToSize(&$array, $size, $fill)
    {
        $cnt = \count($array);
        if ($cnt >= $size) {
            return;
        }
        $array = array_merge($array, array_fill($cnt + 1, $size - $cnt, $fill));
    }