reorganised the way vertex data is loaded into video memory