add padding init variable to float types
move define generation to empy template