added functions to get range corrected x/y cave position for BD engine