Removed dependency on tripack