On the B(1235) and ρ(1710) production on nuclei