speed up sequence extraction