Application of the level-set method to a mixed-mode driven Stefan problem in 2$$D$$ and 3$$D$$