Magnetoresistance of a nanostep junction based on topological insulators