Implement build space checking
Unit code style changes