picture slice headers refactoring