Fitness function for gnomoria layouts