First submit. (Also, blocksizes are now defined constants at top of file)