attempt to speed up cstock warehouse by doing tiered aggregation

http://manage.dimagi.com/default.asp?133246

not convinced this will have a significant impact.