improve speed of prepareBatch