fix bug with memset (find_bridges) (243)