headSize to headLength