refactored generate style to be static
added reporting of max impact value