In order to make it faster, we need to understand why it is slow.