Optimize ROUND and TRUNC key range