calculate part values for TCS data receive, further minor changes