mpl limit vector size fix