A computational approach to scaffold upscaling for tissue engineering