Fixed cast to int
Merge branch 'master' of https://github.com/Felorati/scalability