updated checksize and docs