added hatch module and calculate distance per raycast