more refactoring for fibermap and obslog