speeded up even more at the expense of memory