add position and length features