changed asynchronous offset calculation