walk with FTS and write histogram images