Massive speed up of bcf file parsing using C