Optimizing the space to put in single line for frame skipping and fps limit