bfast01 (classify?) is using some code taken from strucchange; try to deduplicate it by integrating the changes into strucchangeRcpp.