Shadows's modified to adapt with space