Clean some operations
Try to make prediction of active side faster