Precise ToF distance sensor for demanding applications