Allocate roof_processed	array from heap	instead	of stack (large	datasets were
blowing up the stack)