bug exists in levelSize