rename x,y,length -> a,b,lens