cleaned up histogram tracker