removed superfluous part determination

This seems to be a left over of the refactoring from pull  #51 and seems redundant