Unnecessary data is cut of properly