Slight improvement to BoostArray