reduce the running time