style generator can control before size