major reorg. should work. fixed bug in delta fastpfor where delta is negative