Remove compression (for now) & added limit to undoArray