Added code to prevent more than 7 tiles in work area