first implementation including offset handling and dynamic crunch filter