add gaussian for thickness