Changed local_maxima to float32