:bug: Resolve length calc problem
:bug: fix test