fix/cleanup resize transform
working input normalisation for all types