path histogram analysis