vm: sparse memory, first version (need testing)