Fixed smal bugs introduced in previous version with the squared placement algorithm, version 0.76