fixed offset calculation