Added clustering up to bottom-down clustering