find n2 flip performance