Optimize the faster case