Slight performance tweak for HaarSurroundFeature