improved sys.type and sys.memory.read.block