Sped up feature calculation