better name for CONFIG
merge fix
some fixes to binary, unbinary
restore histogram