more bgzf refactoring