changed number of belief points into a macro define; added planning that can start from the beginning each time and iterate a bunch of times