Fixed memory overusage problem by limiting game