fix for i386, add size() method to obtain vector length