breadcount backend finished, can be linked and ready for algorithm impl