we sample the data at 1kHz with 24bit precision and the final template takes ~25KB, which can be further compressed for an accuracy trade-off.