fixed method preprocessor so it can handle diameter ranges, not just radius ranges