Efficient plane detection in multilevel surface maps