Fix size of generated artifact