fixed spectral module partitioning.  it is still quite buggy