rename ashape to ofsize
add vector (tested)