Adding a way to discretize coefficient