better crossfoot calculation for strings