changed to 4 inch 64 bit which had integer incompatibilities, made appropriate fixes