tried a few ways to improve performance, but FastM is still the fastest.