Shadowing and enhancement of quark distribution in nuclei at small x