correct ceiling from values
Merge pull request #4 from bugsel/master

correct ceiling from values