Extracted method to calculate potential blocks