Detection of change in shape and its relation to part structure