wire in offset calculation