Gravar-mail: A haplotype inference algorithm for trios based on deterministic sampling