Added scanner bench, but making it faster slowed down the function.