Nuclear effects on the structure functions