Made unregular case for Danilevski method