Fix case of empty size vector