Using grid to make AshikhminBSDF vectorized
(not yet complete)