panelutil: expand2vector handles vector with length >1 as input