Add binary research to set the number of element for page