adds specified amount of memory but there could be more writable memory ahead, so you have to decide how much you access