Made dilation of brain as a parameter