adding header data and return fixed number chunk data for wan compression