tweaked to mask stars/bright objects