fixed..

Error on histo construction (it was no effect if image size < sqrt(255) ...