I was hoping that someone would answer the question but as always the problem is already solved, you just need to break your head for a while understanding the operation, thanks for this wonderful contribution of mate really optimizes a lot in the development