fallback to offset calculation if it does not exist