To trim the sample according to specimen dimension as per specification