fix: prob-29
fix: prob-23, but too slow (about 20 sec)