the remains inspired ulugh beg to build n observatory in samarkand