A scalar-fermion model in the limit of infinitely heavy fermions