Added inter SM address increment logic.