fix chunks vector size issue