[fix] allocate memory round by round to empirically reduce memory consumption.

git-svn-id: svn://svn.code.sf.net/p/zpar/code@1042 709220ea-b82d-4b87-bd3a-7e1d81a5e10b