Base Offset calculation:move derived test inside wrapper.