Added logging. Removed scaling of nodes.