adding common and kdtrees dir