finish calculating similarity for texture and color
erase errors