split out first stage normalisation to module and use it