Detection of small parts