fix: miscalculation has been fixed.
change: debug print code has been removed.