Finished efficient divmod assignment