sped up time to depth using look up tables