Add the naive version as comparision.