vl/vlc: add function to limit the vlc size