Working code

Respecified price structure in terms of increases and sizes of blocks.
A few more fixes