16 magnets and 54 slots requires a rather complex two layer winding. but it does have a very high least common multiple and will have very low cogging torque, and rather respectable winding factor of 0.94.
what you probably have is a 16 pole 48 slot stator. (16 magnets)
or you have an 18 pole 54 slot stator. (18 magnets)
these systems require skewing the magnets or other fun and games to get the cogging torque lower because the least common multiple of 16 and 48 or 18 and 54 is 48 and 54 respectively.
but the winding layout is much simpler.
you have to remember to reverse the connections every other winding.
this site will show you all the winding layout options.
https://www.emetor.com/edit/windings/