in-place filtering in special cases