flip graph, remove bayseian prior