expand shapealloc to be readable