Cleanup of range