renamed Cut arguments to make it clearer they are byte offsets