fixed distanceToTSS calculation