looking for writing beyond the memory

increasing memory to 40, though only 38 is required but to make it
multiple of 4 and 8 looking at 32bit and 64 bit system.