check for building influence when growing resources

closes #5556