some speedup for tie