major optimization by skipping some retrieval steps when the haplotype hasnt changed