word break 2 reimpl