Restore needed spaces