Euristics completed and debugged