Trim spaces