StructureBuilder object detection

This is a non stable version, don't use it unitl I rewrite the whole
class.