Improved galactic foreground removal for B-mode detection with clustering methods. Issue 2 (12th January 2022)