Added color cluster detection and removal