changed cluster division calculation to be more accurate