various methods of getting lengths tried, with timings