Updated klength vlength set method