compute number ball lands on