Added LSPB, bug fixes