Binary composition tree