fixed: RegularColumnModel has incorrect number of columns on last row
fixed: integer overflow bug in documents extension