added int height to function ComputeMinWork
change target at block 30000