Replace s-> with s->as.heap.