Create Stanford+Build Trees from sorted array