removed bug in local_complexity (span was hardwired)