vectorize boot.m