Adding floor and celing fix for x' and x4' Commit