added better rebuild print with progress