>>29639520
the speedup function is useful