Moved filter states to stack RAM space