make vector size check before every load store