If you have an interrupt that is used to count frequency, how would suggest one do the buffer for higher frequencies?