Some optimization getDares/Stares functions.