update 2014-02-04

debug mode for print, self.capacity bug fixed