hydra refactor maximise