Use MBSafeLengthFromBytes() instead of MBSafePosition()