Commit with naga_perfectsquare gem