First thanks for answering,
The problem is that I do not only have 23andme data, some are in similar format but come from other direct-to-consumer genetic testing. Even if we only consider 23andme, some data from them are 5 years old and were based on build 36.
So the question is still open, for example based on a big set of rsid, is it possible to determine the build?