Correcting spoj tree