fast processing of focus value

using lockbit I have achived much faster performance, the next step is
to implement Parallel code and get even faster result.