make normalize faster