add, findMin, findMax operations fix