Commits
Albert Cheng committed a9710dbbf20
BUg fix: select_granules was making extra unnecessary filled granules. It was because it was calculating next_slot_btime incorrect. Rewrote the select_granules() into two loops, outer for number of slots and inner is for number of products found. Tested: koala.