Trim the space