Add naive atomic version histogram function. Replace tab with space.