second attempt to reduce stroke data size