Micro optimizations for the amp filter.