Using layer counts for layer removal in stitching
Removing specified layer removal code in stitching