Tree-based distance clustering over distributed database objects